<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>16-综合案例-根据数据生成柱形图</title>
    <style>
      .box {
        width: 600px;

        /* height: 400px;
        line-height: 400px; */
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        border-left: 1px solid #666;
        border-bottom: 1px solid #666;
      }
      .box > div {
        background-color: pink;
      }
    </style>
  </head>

  <body>
    <div class="box">
      <div style="height: 123px">
        <span>123</span>
        <h4>第1季度</h4>
      </div>
      <div style="height: 156px">
        <span>156</span>
        <h4>第2季度</h4>
      </div>
      <div style="height: 120px">
        <span>120</span>
        <h4>第3季度</h4>
      </div>
      <div style="height: 210px">
        <span>210</span>
        <h4>第4季度</h4>
      </div>
    </div>

    <script></script>
  </body>
</html>
